fix setting bugs.
Merge pull request #33 from RaoZiJian/myMaster

fix setting bugs.