delete $path variable