Small fix for setting params by name