Fixed capes error and fixed #96