fix number of interfaces being opened