clean before prepare