normalization bug fixing