fixing beforeCasting - Remodeling design

I hope he will apreciate it