Fix the crash of page when couldn't get all the files.