CLOUD-252 fix cast
Merge pull request #320 from sequenceiq/fix-event

CLOUD-252 fix cast