clearing logfile were fixes