fix map uploading