fixing validation errors 5