remove top type like in mudot, and scrap out-of-date last part including invert-trans