modified Request.php