handle request variables