Fixed data logger crash