remove extra sections