fix a bug in order swith from a normalized order to an unnormalized order