fix bug in escaping of slash