Fixed crash on loading big file