fix bugs
fix status
Merge pull request #9 from ACzero/api

fix bugs