fix major bug in prediction parsers