bugfix serial-hubot api script.