fixing links bad creation