fix #1163