fix #1173