fixed check for empty alliance name