validation error fixer