fix breeding crash