fix #1106