Bugfix for relative URLs