try to address hashing/equality problems and fix caches

4 jobs for issue77 in 10 minutes and 18 seconds