improve https://github.com/scroll-tech/scroll/pull/1032
improve #1032