fixes https://github.com/dotCMS/core-2.x/issues/63