fixed #212

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Merge pull request #213 from miurahr/fix_issue212

fixed #212