fix issue 774