fix bug that multiple timer callbacks do not work

if they have the same trigger time