fix #1092