fix translation withou foreign key bug