fix media server url