cleanup: removed unneeded variables from reader.