fix bug with list methods