Fix response for hook creation