fix case bug in tag