normalize code