fix to log entry