URL rewriting in ead files
clean up