Fixed a bug: now upload to dropbox will have correct time