Changed latch bytes back to the original value (not sure if this matters should do some testing)