I have a question regarding roots of unity. In general, we can write the n-th roots of unity as $$e^{2\cdot\pi\cdot i\cdot\frac{k}{n}}$$.
However, if we do the following manipulation we get the following:
$$e^{2\cdot\pi\cdot i\cdot\frac{k}{n}}=(e^{2\pi\cdot i})^{k/n} = 1^{k/n}$$
The first part seems to me only apply the rules of exponentiation, the last part also seems reasonable logically, but makes no sense. Could anyone tell me what I am doing wrong here?