( CNN) Late Wednesday night, North Carolina lawmakers and the governor agreed upon to repeal the state’s controversial “bathroom bill, ” called HB2.

But LGBT groups immediately blamed the deal saying it was a “repeal” in name merely with one advocate calling it “HB2. 0, ” and fails to protect transgender people of all forms of discrimination.

The repeal goes to a referendum at 9:15 a.m. Thursday at the state’s Senate Rules Committee, and must survive two additional referendums on the Senate floor in a session scheduled for 11 a.m.