Fixed cEvent() and PushEvent()

Signed-off-by: Jacky Boen <aqiank@gmail.com>