Fix unique true bug
Do a try excpet to raise an error when get pp

Raise error in get political party