fix #2296