Fix the links of the fork and the params passed to the new and the fork hooks