fix issue 698