set animation channel note not working

I added an extra animation channel to a controller. but setting that value doesn’t seem to work.

in the photo you can see me setting de value and than printing that value.
the printed value and the setted value are not the same.

anyone knows how to fix this or a work around? thanks

image