quick fixing for bugs found by tetsurom
quick fixing for bugs found by tetsurom

syohex/libbun-snapshot,syohex/libbun-snapshot,syohex/libbun-snapshot,syohex/libbun-snapshot,syohex/libbun-snapshot,syohex/libbun-snapshot,syohex/libbun-snapshot,syohex/libbun-snapshot