Fix ReferenceError for request variable.