cleanup of dropbox code.