fixed some bugs, todesprogramm can be compiled