fixed index order of data
fixed plot