switch path uniqueness to underscore's uniq
revert to old handlers form to remain backward compat