bug fixes and canine detect