move cast inside EffectContext

Created by  itai.sharim  on October 20, 2022
YI7M5RWLKUG256YXK6CGZKUPDCNHREU2PGV344L2IV24FF5PHG3AC
Change contents