domains were not correctly saved