new option 'params' and scope fix