fixed endifequal tag