removed global $mongo

rt