Some cleaning in codes