fix #1700