fix hash deref for older perls