Fixed a bug in stream's eval method