Fixed closure issue with memberlist