bug fix - if you had a variable $value default value, so as not to initialize $event_value