fix #2149