fix #1749