fix for recent type creation changes