Update request.php, fix variable naming