added: convert backslashes to slashes function