bugfix: UnboundLocalError for variable free_event
version bump