fixed %d timestamp being long int warnings