fixing NoOptionErrors by brute force exception handling