only extract :params from the options hash once