Fixed word index bug and remove parallel in lin 79