add commented out line for logging invalid triples
fix npe caused because we didn't initialize the inner reader