bugfix for create_tunnel_interface function