validation errors corrected