fixed bug where normalization held onto old max value. fixed label bug