corrected validation
fixed a conflict