cleaning and compacting install dependencies