Normalize code