Fixed lastStatusCode

method was returning http_status instead of http_code