Bugfix: fixing remote mongo connection