changes for filtering out unused import packages