remove unneeded tag and simplify severity check