fix #4682