Fixing a bug with path being blown away