Take out extra end