fix base tag bug