fix #1773