fix signing process in node 0.10