fix mongodb api  (using 1.4.x)