Fix bad string formatting with proxy object