Fix parser so tags are case insensitive