fix tagsCtrl about null tag bug
fix style