fix #2306