Fix redirect bug on the link creation action