fix subrequest creation