Fixed bug with {0} instead of %s for variable formatting