fix #1090