remove type of exception