fix #2274