fix an issue when connecting first time to dropbox