fix bug in reqeach, change defaults, inject add additional globals.