forgot to add validation on second part of link creation