fix bug on possible parents scopes when receive nil as argument