fix bugs of rank
Merge branch 'master' of github.com:OrsonHsueh/ASJ