fix #1634