remove last parts