tail PID fix