fixed issue #23.