Fix problem with dogs taking multiple lines.