bug fix wrong id generation for events
Merge branch 'master' of https://github.com/proservice/betsys.git