Fixing relativeURL semantic (fixes #1)