Changed format specifiers

used %d instead of %i in hopes of getting rid of an error