fix issue #1203

fix issue #1203