fix #1768