fix for url parse