Added patch for media