some fixes + handle rejected alliance