fixed normalization issue