fixed loading problem of digital output. not setting iterators to the right state
iterator now shows iterations after loading
added reset for loops