Basically, <code>root</code> is of type <code>str</code> and <code>wannabe</code> is of type <code>unicode</code>.
So the latter type has to be changed