fix a mongo bug for missing callback