array buffer clean