fixing beforeCasting - Fixing form validation Fields error class 2 -