remove useless slashes