fixing beforeCasting - Fixing form validation Fields error class -