bug in calltimerfunc