url uniqueness for sites and minor bugfixing