clean out base tag