fix bug with default opts in list method