Fixed STFReader exceptions and key/value mismatches