clean before task config