adding missing comma for misery index and add error handling for segment name display