remove all references to null interfaces