fixed vector normalization issue in VS