remove unnecessary arraybuffer