spatial grid fix, tcp connection fix