fixed class loss