remove unnecessary interfaces