more SITE_MIRROR bug fixes