fixes #6343 - wrap parameters looked up from options in resource