fixed segv on startup with trusted domains