fix tostring on caps