fixed get word id