remove incompatible stuff