fix bug for roi name = 1 (had been '')