fixed bug in restitue
Merge branch 'stage2' of github.com:HerrMuellerluedenscheid/derec into stage2