fix bug where nil or @{} params would cause invalid signature because params instance variable was not being set