fixing validation errors 39