force statusCode to be a number

`statusCode` appears to always be a string. This forces it to be a number.