Fixed hook name
Fix typos and only need to set remote user is some cases