fix error message for node versions