Phase transition of collective moving directions by tweaking the diversity of different leaders