bugfix with title; deleting previous log files