Fix fatal and errors thrown in setup.