fix incompatible interfaces