fix #1055