filter for blink and false data