removes unecessary imports