Event key class being null