Fix distinct