Fixed string to number TypeError

This was causing an error because the formatting was looking for a number %02d
make these integer values instead of string values.