fixed: normal debug log did not work any longer
fixed: did not work on Windows any more in some special cases