index: backward compatibility with node 0.10