add slashes to beginning of refs