fixed /\/|\\/ bug