filter out used deps