fix #5589