fixed #182

Signed-off-by: Hiroshi Miura <miurahr@linux.com>