clean out pkg directory first