bug fixes to clean up jsonSequenceFileReader problem