fix missing d
fix anonymous hash function