fixed some tasks (ref #159)
Merge pull request #160 from pfalabella/integer-inference

fixed some tasks (ref #159)