display a better message when a rewritten url is duplicated. Fix #843