         #console.log(change)
         if change.wasRemoved
             console.log("nuking file from dropbox change")
-            filepath = base + change.path
+            filepath = dropboxToLocalPath(change.path)
             fs.exists filepath, (exists) ->
                 if exists
                     fs.stat filepath, (error, stats) ->


        # created / modified
        console.log("change.stat.path", change.stat.path)
        filepath = base + change.stat.path
        cache = filecache.get(filepath)
        if cache?.versionTag == change.stat.versionTag
            console.log('ignoring because same version')

            cache = filecache.get(filepath)
            if stats.isDirectory()
                unless cache?.isFolder
                    db.mkdir localToDropboxPath(filename), (error) ->
                        throw(error) if error
            else
                fs.readFile localToDropboxPath(filepath), (error, data) ->
                    if error
                        console.log("Error", error)
                        process.exit(1)
