copy request vars to global vars