remove defined type nonsense