fix dropbox fucntions