possible fix to the dog bug #95