fixed deteion of disabled interfaces