minor formatting
not all items in the dictionary have .strip() method
htp[0].strip()