fixed a bug with absolute url's