patch for reflection