dereference hash, older perl versions generate errors