fixed issue #49.