fix registry
fix timesince unicode error