clean out unused portions