fix #1741