Bug fixed with the inherit_resources. Now scope param is proccesed properly