another upgrade fix for ancient datasets