Fixed FormatException reported in #19 (see bd5a739d2083bac50359385e5d8d2f6dc3fddfb6)