fix var name, and forgotten resize list param