fix problem with last link