Fixing dog form bug