fix unique
Merge pull request #55 from MartinGarton/master

fix unique