fixed bug in log file path