small change in the upstream problem with nosect