fix an error on Node 0.8