fixing validation errors 1