fixing validation errors 245