expert config function is active and before clear