arrays cannot find list number - undefined