closes #151 - buffer deleted with delete