Fix hash dereferencing