fix #1471