Problem solved.

There was nothing wrong with the code itself. I had the main fill variables with data from other files. I had one pointer not in the right place so the same vector was constantly overriden with two different entries.

Sorry for that. I'll double and triple check my variables & pointers before I'll ask you guys for help the next time.