Fixed 'Format string is not a string literal' warnings