fix show to also work for indexes larger than 9