fixed creation of new extensiontypes