first clean of the code