fixed bug where valid words were not read