removes unneeded imports