fix bug in nodjs 0.10.12