remove old buildTypeName method