typos and format string fixes