Fix for url's up to 1 directory.