Fix bug in ping pong