Fix normalization of modes