fix #1825