bug fix - changed click to clicks in nosql db