fix timerDelay calculation
Merge branch 'release/0.2.1'