converted timestamp more correctly