minor fixes (LogReader) and updated API (index and Resource)