remove scopedtypevariables