fix #1352