enable erasing of buffer