fixed bug of desired grade changing if weights not eq 100