fix #1130