fix: run hook rather than the result of hook