dependency housekeeping