delete excess slash