Let $K$ be an algebraically closed field and let $A$ be a $K$-algebra with a complete set $\{e_1,…,e_n\}$ of primitive orthogonal idempotents. So, the algebra $A$ is called basic if $$e_iA \cong e_jA \implies e_i=e_j.$$ (In this context $\cong$ means isomorphic as $A$-modules)
But I have a very stupid question: how can $e_iA$ and $e_jA$ not be isomorphic as $A$-modules?
Can't the function $$f:e_jA \to e_iA$$ that associates (for all $a \in A$) $e_i a$ to $e_ja$ be extended to an isomorphism?