Fix cane errors