Fixed #1395: Correct a mistake for issue 1395

Correct a mistake for issue 1395