fix #1701