fix windows slash for replace()