fixed account bug (domain ID 0)