fixing automatic creation of capability types