fix empty tag list bug