fix ping pong and rm debugging