fix #1160