free the path on destruction