Fix list undefined bug

There's a bug where ```list``` presumably should be ```obj```, or else it is undefined.