fixed the parameter hash to use the scoped resource