fix result when code scroll