removing preceding slashes