fix #5599