remove end of seciont