fixed error when creating security-domain