remove some incompatible options