serialize options should be passed to scope