Remove useless links