Fixed segfaults on bad options file