remove needless slash