Inserting freeData() where you say gives me strange graphs. Removing it works again right.

Regards