Possible errors with next/prev buffers