Fixed TypeError

Now I get to the part I always get stuck at...