fixed some cannon functionality: