handling case sensitive tags