fix segfault if only interface or interface_new is specified.