fix err very large (#3824)