bugfix when dealing with localized entries