fix undefined for closed status
Merge pull request #33 from jennjwu/dev_xiaoli_2

fix undefined for closed status