Node-red, raspberry pi and arduino communication issues

I'm actually not using arduino now,
By using the proper size lines the raspberry pi sees them all.
I need to fugue out to replace bad readings in node red.
I'm using the smoothing node. It helps but not when receiving bad readings.
As soon as I get laptop powered up I'll share my current flow.
Cheers