validation error fix