add valid links & auto overflow