Fixed Err with Node 0.10.5 changes

Thanks to @pianomansam for the Diff