fix bug #4, invalid size for format