fixed bug where first word was always being eatedn