reconstruct code fix big file cause browser crash problem