properly delete features when syncing