cleaner implementations for relative url roots