fixed a/b testing bug