fix iface, bugs