remove locals from string format

Use explicit variable names instead.