fix time format
while finish loop