correcting realtime connection to server / fitting map to bounds