fix #1209

fix #1209