seperate the scopes in the recursive nested view