No luck, neither, actually seems to cause even more than just making the lineshape and adding it, I'm starting to think the problem is in the code around it, I'll test it later.
EDIT: No, it doesn't seems to be program, the code only happens once (and not multiple times as I thought it might happen, out of ideas now).