remove unused type