fixed disafilliation bug