fix #5926