Some weird sitecore bug workaround