fix Segfault on 2nd read of simple file - #180