bug fix run in node 0.10.x

use https://github.com/ajaxorg/cloud9/issues/2741#issuecomment-28518676