fix bug left in nested set