fix #1056