Corrected validation error