fix #1367

fix #1367