googlecode issue 165
Merge pull request #62 from dyu/gcode-issue-165

googlecode issue 165