fix string formatting errors
Merge branch 'log-error' into main