Fixed bugs in DropboxProvider