Fix slash detection