clean before code