fix #2365