Fix bug with new dog creation