fixed dropbox functions