fix minor bug in the previous commit a2ee9a14b. (In outputLayerProcessor, related to sending fn to sink