fix time bug. (convert hhmmss format to seconds.)