fixed error with list