Remove ending seperator