fixed can functions