tried a lot to find the last bugs and mest up the code a little, but finally its working like a charm :D