fix issue 899