error normalization