move map to server side