fixed faily url path handling, hopefully forever