fix issue980