Finally fixed issue #6.