Oh well, now it works! Maybe I placed those fixing codes in a wrong places.

Well, I'll be here soon if more problems appears :-)