Fix complete event error