Sets correct domain