minor fix to repeating words