sb/set-timer: ensure buffer is live
use arguments when creating a timer
bug fix