add protection for TAG