fix bug for expect 0
Merge pull request #53 from uber/expect-0

fix bug for expect 0