fix mission publicvariableeventhandlers