Fixed replacing of format string with content.