remove old type