fix bug, analog was not updated anymore