fixed some bugs.
Merge branch 'master' of github.com:gxbsst/starfire