fix max length of one tag