fixed read ahead bug in manifest parser