bugfix where in some cases req wouldn't be passed