prevent fatal errors during some bootstrap.