Remove links not needed