fix bugs
Merge branch 'master' of http://github.com/micanzhang/codex