fix deadend check

also expand the cataegories to ignore regex