fix #2170