fix with the log