fix #2189