stupid logfiles bugfix