set named parameters correctly now