prevent calling tmr_int_handler with negative numbers since id indexes into an array