Check we have a buffer to end first