Fixing typo

Previously, statusCode is undefined.