fix translation edit cancel