Fixed readNext(KeyValuePair)