Fix a bug where XP cannot work with '/'