fix #2250