Fixing a potentially problematic path