Fixed create tag bug