Fixed log that was crashing