removes bad character in passenger path.