fixed issue #5.