Transmissions of photonic topological modes through channels with different shapes