fixed issue #482