list has undefined
fixed it