after deleting type