Fix a bug that prevented multiple interfaces from working