removes uneeded imports