moved log message that caused a crash