fixed remove url implementation