fix a time tag bug