player memory leak fix :P