Remove path for contains()