change approach in parse url