fix statusCode logging

res.statusCode