Ensures the config is cleared properly every time