fixes for helpers for node 0.10.*