merge options in to params