delete lines of def tag_base