cleanup unused variables in core-list-dart