added alliance fixes