minor cannon bug fix