Fix the PID in order to take dt into consideration