fixing relative urls
bug fixing diving into xcode