fix for argument being hashref not hash