patch for loading