fix #1095