fix #1075