filter the interfaces properly