validation error fixes