remove polarity from config file generation