Fixing eventBeginTime issue