Removing any slashes from material name