remove more extra slash is a problem on Windows