fix #5881