bug on index routes