add ror for next
1 bug fixed.
Merge branch 'master' into jianw_dev