Fixed list() warning