Fix alliance bug