added active handler to detector