removes extraneous imports