patch for sitecontroller