small tuning of interrupt callback