bugfix for log files that are empty...