removing extra slashes