fix plurality error and remove extra end
Merge pull request #10 from rootulp/plurality_error

fix plurality error and remove extra end