fix bugs
Merge pull request #5 from pfchen/add-new-feature

fix bugs regarding varaibles