fixed tag bug