better node version handling