fix nwords format