get rid of excess slashes