Fixed validation error