added dropbox API
fix bugs
fix bugs