precompile for fixing form validations