fix to .hook passes function not name now, as z() requires