fixed issue #279