fixes dotCMS/dotCMS#5139