Fixed a bug with absolute URLs