fixed serious bugs in load-today-log