Fix: Invalid formatting of log message causes crash