fix fetch from mongo