fix known issues on Node.js 0.11 (#555)