fix #2197