fixed bug of double saves :-) thanks Jeremy