more visible errors
change the tructure of the index