put the links right