fixed can-abilities for empty classes