physics buffer overflow fixed