fixed issue#3