nested scopes functioning but parameters not added