fixed. see the issue #17 for more details