fix path of log file for wc