TODO handle links not being available