Fixed EventParams

Wrongly defining a type instead of a member variable!