update issue #665