duck punching some bugs from coalescing two assignments
Merge pull request #7 from nwpan/master

duck punching some bugs from coalescing two assignments