load and complete event hack