move initial value back after the callback