fix code example to declare safe domains