mongodb get all events fix