fixed bug in input stream parser