Fixed a major bug with initialization of the flagFields and streaming