Fixed #111, Handling for reading format