fixing perfect classification