patch for module locations