fixes for sitecore initialise pipeline