fixed bug where words with periods in them would terminate an action when they shouldn't