Clean up.
Didn't work with non-zero index.