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