fixed two very sneaky bugs involving pet definition around ocr43