fix argument passing on call hooks