fix hashref slice