fix bug in roidialog
Merge pull request #3 from sealhuang/fix-bug-in-roidialog

fix bug in roidialog