don't crash tabs when there are no links to use