Fix interface checking