fix bug with no key "page" in events