fixed some normalization issues