fix #1118