fixed #197 dog#new bug