fixed #5639