Attention: There are some typing mistakes in the code above! Rewrote the code, works well now. I'm not completely sure about the mistake but I guess it comes from the saveing. Closing the topic.