fix errors on underscores in input words