only add the version header if it is missing