fixed leave handler, and found gameroom library has a bug