Setter not working

Now I see, some cast is failed - check where, it can be problem.