variable normalization fix