Fix critical bug with unexpected slash