prevent words like "arsenic" from outputting two paths to the end