fixed bug with spread not going to the correct inlet after s/r change