fix a bug in timer
add chan to sync timer events