use statusCode instead of o.ok as es has changed (0.4.5)