style changed for index