Fixing a mistake with how I defined a hash