fix segfault if list() is called after activate()