clean old data when switch

clean old data when switch