fix issue #492