fix #1124