reject the promise whenever a fetch return null