fix another bug that multiple timer callbacks do not work