fix some bug
Merge branch 'master' of github.com:github15693/rms