Fixed bug with allies