fix rockmongo deprecated code