fixed first step not being computed before timer is set resulting in wrong first step