fixes dotCMS/dotCMS#5346