cleanup dependencies and imports