change params var to title

since the package params var can take an array
it should be set to the title and not the name.