Clean the codes