remove the extraneous type