fix problems with creating domains and assigning domain admin at the same time.
related to #38