Fixed bugs with alliance ui