corrected the log