fix #1760