revert arraystream changes