fixed inline iStream init bug