Fixed typos and missing LogEntry import