Add ',' in maxRecord[] to separate data