fixed with path generation for incomplete urls