fix #1063