fix #1104

closed #1104