Clean up mongo command