fixed a bug when only the start of the word was matched, i.e. start and startttt were treated the same way