Shouldn't an error be passed into the cb here? Same for the other similar conditions below