fixed broken example on index