replaced  $this variable with null in GenericEvent when setting user points