fixes normalization