fix translation resize