fix dog bug