fix #1863