remove path to cursor url