Fixed segmentation fault for startup files.