Revert "fix schema for events"

This reverts commit 72f01f6c5fff6ea9f2c8bde82a4802063cf20d62.