fixed tag check