fix issue #656