fixing validation errors 4